import { qusetionType, qusetionDifficulty } from './data'
export default {
  data() {
    return {
      qusetionType,
      qusetionDifficulty,
    }
  },
  methods: {
    typeFilter(type) {
      return this.qusetionType.filter((v) => v.value == type)[0].label
    },
    difficultyFilter(type) {
      return this.qusetionDifficulty.filter((v) => v.value == type)[0].label
    },
  },
}
